package com.zm.demo.shoppingmall.product.dao;

import com.zm.demo.shoppingmall.product.model.TProduct;
import org.apache.ibatis.annotations.Param;

public interface TProductMapper {
    int deleteByPrimaryKey(Integer productId);

    int insert(TProduct record);

    int insertSelective(TProduct record);

    TProduct selectByPrimaryKey(Integer productId);

    int updateByPrimaryKeySelective(TProduct record);

    int updateByPrimaryKey(TProduct record);

    TProduct getProductByProductNo(@Param("productNo") String productNo);
}